package com.zm.cinema.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zm
 * @since 2024-08-26
 */
@Getter
@Setter
@TableName("trailer")
public class Trailer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("tname")
    private String tname;

    @TableField("mid")
    private Integer mid;

    @TableField("video")
    private String video;

    @TableField("toptime")
    private LocalDateTime toptime;

    @TableField("releasetime")
    private LocalDateTime releasetime;


}
